*{
    margin: 0;
    padding:0;
}
body{
    font-size: 16px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.carousel{
    width:980px;
    margin:0 auto;
    height: 368px;
    overflow: hidden;
    position: relative;
    left:0
}
.carousel .wrapper{
    display: flex;
    width:980px;
    flex-wrap: wrap;
    transition: all 1000ms;
}
.carousel .slide{
    width:980px;
    transition: all 1000ms;
    
}
.carousel .slide img{
    width: 100%;
}

.carousel [class^='button']{
    position: absolute;
    top:calc(368px / 2 - 50px);
    height:50px;
    width:50px;
    text-align: center;
    line-height: 50px;
    background:rgba(0,0,0,0.7);
    color:#FFF;
    cursor: pointer;
}

.carousel .button-prev{
    left:0;
}

.carousel .button-next{
    right:0;
}

.carousel .page{
    background:rgba(0,0,0,0.7);
    position: absolute;
    bottom:0px;
    height:50px;
    width:100%;
    line-height: 50px;
    display: flex;
    justify-content: space-between;
    color:#fff;
}
.carousel .page span{
    display: inline-block;
    width:20%;
    color:#fff;
    text-align: center;
    transition: all 1000ms;
}
.carousel .page span.active{
    background: crimson;
}
